package com.qf.main.login.realm;

import com.qf.main.login.config.LoginType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author chengqiang
 * @Create 2024-01-24-9:51
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserToken extends UsernamePasswordToken {
    private LoginType loginType;
    public UserToken(LoginType loginType ,String username, String password ){
        super(username, password);
        this.loginType = loginType;
    }
}
